<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let gwc = [
            {name:'火龙果',Unitp:6,num:2},
            {name:'荔枝',Unitp:7,num:1}
        ]
        // console.log(gwc.length);
        for(let i=0;i<gwc.length;i++){
            // let str =gwc[i].Unitp*gwc[i].num
            let str = 2*3
        }
        let str =''
        console.log(str);
    </script>
</body>
</html>